

:root {

    --french-blue: #0055A4;
    --french-white: #FFFFFF;
    --french-red: #EF4135;


    --paris-gold: #D4AF37;
    --paris-stone: #E8DCC4;
    --seine-blue: #4A90E2;
    --lavender: #967BB6;


    --primary-color: var(--french-blue);
    --secondary-color: var(--french-red);
}


.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.eiffel-tower {
    font-size: 36px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.app-title {
    font-family: 'Georgia', serif;
    font-size: 28px;
    background: linear-gradient(135deg, var(--french-blue), var(--french-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 1px;
}


.french-flag-bar {
    height: 6px;
    background: linear-gradient(to right,
        var(--french-blue) 0%,
        var(--french-blue) 33%,
        var(--french-white) 33%,
        var(--french-white) 66%,
        var(--french-red) 66%,
        var(--french-red) 100%
    );
    border-radius: 3px;
    margin: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


header {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--paris-stone) 100%);
    position: relative;
    overflow: hidden;
}

header::before {
    content: "🗼 🏛️ 🎨 🥖";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    opacity: 0.15;
    letter-spacing: 20px;
}


nav a {
    position: relative;
    overflow: hidden;
}

nav a.active {
    background: linear-gradient(135deg, var(--french-blue), var(--seine-blue));
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right,
        var(--french-blue),
        var(--french-white),
        var(--french-red)
    );
    transform: translateY(100%);
    transition: transform 0.3s;
}

nav a:hover::after {
    transform: translateY(0);
}


main {
    background: linear-gradient(to bottom, #FFFFFF 0%, #F8F9FA 100%);
    position: relative;
}


main::before {
    content: '🗼';
    position: absolute;
    right: 30px;
    bottom: 30px;
    font-size: 150px;
    opacity: 0.03;
    pointer-events: none;
}


.record-btn {
    background: linear-gradient(135deg, var(--french-blue), var(--seine-blue));
    box-shadow: 0 4px 15px rgba(0, 85, 164, 0.3);
}

.record-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 85, 164, 0.4);
}

.record-btn.recording {
    background: linear-gradient(135deg, var(--french-red), #C0392B);
    box-shadow: 0 4px 15px rgba(239, 65, 53, 0.4);
}


.result-section {
    border-left: 4px solid transparent;
    border-image: linear-gradient(to bottom,
        var(--french-blue),
        var(--french-white),
        var(--french-red)
    ) 1;
    background: linear-gradient(to right, #FFFFFF 0%, #FAFBFC 100%);
}

.result-section h3 {
    background: linear-gradient(135deg, var(--french-blue), var(--lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.stats {
    background: linear-gradient(135deg, var(--french-blue), var(--lavender));
}

.stat-card {
    background: linear-gradient(135deg, var(--french-blue), var(--seine-blue));
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '⚜️';
    position: absolute;
    right: 15px;
    bottom: 10px;
    font-size: 48px;
    opacity: 0.2;
}


.add-btn {
    background: linear-gradient(135deg, var(--french-red), #C0392B);
    box-shadow: 0 2px 8px rgba(239, 65, 53, 0.3);
}

.add-btn:hover {
    background: linear-gradient(135deg, #C0392B, #A93226);
}


.auth-container {
    background: linear-gradient(to bottom, #FFFFFF, var(--paris-stone));
    box-shadow: 0 10px 40px rgba(0, 85, 164, 0.2);
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(to right,
        var(--french-blue) 33%,
        var(--french-white) 33%,
        var(--french-white) 66%,
        var(--french-red) 66%
    );
    border-radius: 12px 12px 0 0;
}


.vocab-item {
    border-left: 4px solid var(--french-blue);
    background: linear-gradient(to right, #FFFFFF, #FAFBFC);
    transition: all 0.3s;
}

.vocab-item:hover {
    border-left-color: var(--french-red);
    box-shadow: 0 4px 15px rgba(0, 85, 164, 0.15);
}


.user-table th {
    background: linear-gradient(135deg, var(--french-blue), var(--seine-blue));
}


footer {
    position: relative;
}

footer::before {
    content: '🗼 Liberté • Égalité • Fraternité 🇫🇷';
    display: block;
    margin-bottom: 10px;
    color: var(--french-blue);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 12px;
}


.spinner {
    border: 4px solid var(--paris-stone);
    border-top: 4px solid var(--french-blue);
    border-right: 4px solid var(--french-white);
    border-bottom: 4px solid var(--french-red);
}


.btn-primary {
    background: linear-gradient(135deg, var(--french-blue), var(--seine-blue));
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '✨';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: calc(100% + 10px);
}


input:focus, textarea:focus, select:focus {
    border-color: var(--french-blue);
    box-shadow: 0 0 0 3px rgba(0, 85, 164, 0.1);
}


.success-msg {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    color: var(--french-blue);
    border-left: 4px solid var(--french-blue);
}


.error-msg {
    background: linear-gradient(135deg, #FFEBEE, #FFCDD2);
    color: var(--french-red);
    border-left: 4px solid var(--french-red);
}


.badge-admin {
    background: linear-gradient(135deg, var(--paris-gold), #B8860B);
}

.badge-user {
    background: linear-gradient(135deg, var(--seine-blue), var(--lavender));
}


.modal-header {
    background: linear-gradient(to right, #FFFFFF, var(--paris-stone));
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right,
        var(--french-blue),
        var(--french-white),
        var(--french-red)
    ) 1;
}


.progress-fill {
    background: linear-gradient(135deg, var(--french-blue), var(--seine-blue));
}

.progress-fill.warning {
    background: linear-gradient(135deg, var(--paris-gold), #DAA520);
}

.progress-fill.danger {
    background: linear-gradient(135deg, var(--french-red), #C0392B);
}


.french-decor {
    display: inline-block;
    margin: 0 5px;
    opacity: 0.6;
}


@media (max-width: 768px) {
    main::before {
        font-size: 80px;
        right: 10px;
        bottom: 10px;
    }

    header::before {
        font-size: 16px;
        letter-spacing: 10px;
    }
}

